extends Node2D

@onready var animation = $AnimatedSprite2D

func _ready():
	animation.play("hurtEffect")
	animation.connect("animation_finished", animationFinish)


func animationFinish():
	queue_free()
